<?php

namespace App\Providers;

use App\Project\Scene\MedicalScene;
use Illuminate\Foundation\Application;
use Illuminate\Support\ServiceProvider;

class MedicalSceneProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton(MedicalScene::class, function () {
            return new MedicalScene();
        });

        $this->app->alias(MedicalScene::class, 'scene');
    }
}
